package com.lcxw.hxzb.friendcircle.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lcxw.hxzb.friendcircle.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 资产值明细对象 ywpd_loves_money_detail
 * 
 * @author ruoyi
 * @date 2020-09-27
 */
public class YwpdLovesMoneyDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细id */
    private Long detailId;

    /** 等级id */
    private Long lovesId;

    /** 1、起床打卡：在指定时段，可在CP主页面打卡，任意一人打卡均可提升资产
            2、陪伴：需与CP在同一房间内陪伴5分钟
            3 . 每日：每日给CP打赏有价值的礼物，可额外获得资产值1陌陌币=10资产值
            4、晚安打卡：在指定时段，可在CP主页面打卡，任意一人打卡均可提升资产值
            5、LV1-LV10：连续5天未获得资产值，则从第6天起每天衰减当前资产值的10%
            6、LV11-LV20：连续5天未获得资产值，则从第6天起每天衰减当前资产值的5%
            7、LV21-LV38：连续5天未获得资产值，则从第6天起每天衰减当前资产值的3%
             */
    private String type;

    /** 当前资产值 */
    private BigDecimal money;

    private Date start;
    private Date end;

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public void setDetailId(Long detailId)
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }
    public void setLovesId(Long lovesId) 
    {
        this.lovesId = lovesId;
    }

    public Long getLovesId() 
    {
        return lovesId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("lovesId", getLovesId())
            .append("type", getType())
            .append("money", getMoney())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
